<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>信息管理系统</title>
  <style>
    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      overflow: hidden;
      font-family: "Microsoft YaHei", Arial, sans-serif;
    }
  </style>
  <script>
    // 判断是否登录 - 立即执行
    (function() {
      // 检查localStorage中是否存在data项
      var data = localStorage.getItem('data');
      if (!data) {
        // 如果没有data，则重定向到登录页面
        alert('您尚未登录或登录已过期，请重新登录');
        window.location.href = 'login.html';
      }
    })();
  </script>
</head>
<frameset rows="88,*" border="0" framespacing="0">
  <frame src="top.html" name="topFrame" scrolling="No" noresize id="topFrame" />
  <frameset cols="187,*" border="0" framespacing="0">
    <frame src="left.html" name="leftFrame" scrolling="No" noresize id="leftFrame" />
    <frame src="index.html" name="rightFrame" id="rightFrame" />
  </frameset>
</frameset>
<noframes><body>您的浏览器不支持框架</body></noframes>
</html>
